package com.igogogo.utils;

import java.io.InputStream;
import java.util.Properties;

public class ResoureceUtils {

	public static Properties loadProp() {
		Properties prop = new Properties();
		InputStream in = null;
		try {
			in = ResoureceUtils.class.getClassLoader().getResourceAsStream("tbk.properties");
			prop.load(in);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return prop;
	}

	public static String getPropValue(String propName) {
		Properties prop = loadProp();
		return prop.getProperty(propName);
	}


}
